Notification class¶
Defined in
Namespace: System.Reactive
Assembly: System.Reactive.dll
Full name: System.Reactive.Notification<T>
Modifiers: public abstract
Summary¶
Represents a notification to an observer.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class Notification~T~
class IEquatable~Notification~T~~ {
<>
}
IEquatable~Notification~T~~ <|.. Notification~T~
Implements: IEquatable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Default constructor used by derived types. |
Properties¶
| Name | Summary |
|---|---|
| Value | Returns the value of an OnNext notification or throws an exception. |
| HasValue | Returns a value that indicates whether the notification has a value. |
| Exception | Returns the exception of an OnError notification or returns null. |
| Kind | Gets the kind of notification that is represented. |
Methods¶
| Name | Summary |
|---|---|
| Equals | Determines whether the current [Notification](# object has the same observer message payload as a specified [Notification](# value. |
| Accept | Invokes the observer's method corresponding to the notification. |
| ToObservable | Returns an observable sequence with a single notification, using the immediate scheduler. |
Operators¶
| Name | Summary |
|---|---|
| static op_Equality | Determines whether the two specified [Notification](# objects have the same observer message payload. |
| static op_Inequality | Determines whether the two specified [Notification](# objects have a different observer message payload. |